package com.demo1;

public class Teacher extends Person{

    public Teacher() {
    }

    public Teacher(String name, int age) {
        super(name, age);
    }

    public void teach() {
        System.out.println("教书育人、用爱心成就每一个学生，学习很快乐，知识很简单");
    }
}
